﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;

using Scheduling.Models;
using Scheduling.Models.Interfaces;
using Scheduling.Models.Repos.InMemory;

namespace SchedulingTest
{
    [TestClass]
    public class TestInitialization
    {
        [AssemblyInitialize]
        public static void InitializeIoC(TestContext context)
        {
            IoC.CreateEmptyContainer();
            IoC.RegisterType<IUserLoader, InMemoryUserLoader>();
            IoC.RegisterType<ICourseLoader, InMemoryCourseLoader>();
            IoC.RegisterType<IRoomLoader, InMemoryRoomLoader>();
            IoC.RegisterType<IBookingLoader, InMemoryBookingLoader>();
            IoC.RegisterType<IRoomPropertyLoader, InMemoryRoomPropertyLoader>();
            IoC.RegisterType<IDepartmentLoader, InMemoryDepartmentLoader>();
            IoC.RegisterType<IUserGroupLoader, InMemoryUserGroupLoader>();
            IoC.RegisterType<ICourseInstanceLoader, InMemoryCourseInstanceLoader>();
        }

        


        [TestMethod]
        public void BasicTest()
        {
            Assert.IsTrue(true, "Fatal Error! Basic Testing Failed");
        }
    }
}
